<?php /* Smarty version Smarty3-SVN$Rev: 3286 $, created on 2011-12-31 10:31:11
         compiled from "D:\www\beimuaihui/views/admin\qa/brandrule_list.tpl" */ ?>
<?php /*%%SmartyHeaderCode:7414efe73efabfbf6-70477496%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '0ca498e7fd0f35fe4385eebbb3b922c725c8800f' => 
    array (
      0 => 'D:\\www\\beimuaihui/views/admin\\qa/brandrule_list.tpl',
      1 => 1323334133,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '7414efe73efabfbf6-70477496',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 
<html>
<head>
<?php $_template = new Smarty_Internal_Template('header.tpl', $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('JS',@BAOGG_JS);$_template->assign('CSS',@BAOGG_CSS); echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?>        
        <script type="text/javascript"> 

        var  LANG=<?php echo $_smarty_tpl->getVariable('LANG')->value;?>
;
	
Ext.onReady(function(){
	Ext.QuickTips.init();
	
                
	   
	var win_form=Ext.create('Ext.window.Window', <?php echo $_smarty_tpl->getVariable('form')->value;?>
);
       var form = Ext.getCmp("ext_form");
	<?php echo $_smarty_tpl->getVariable('grid')->value;?>


		

		
	
	

	
	
	 Ext.create('Ext.container.Viewport', {
		    layout: 'border',
		    renderTo: Ext.getBody(),
                    items: grid				
                });
		win_form.show().center().hide();

		Ext.getCmp("ext_form").getForm().findField("model_id").addListener("collapse",function(self){
			if(self.getValue()!=0){
				Ext.getCmp("url").setValue(changeUrl(Ext.getCmp("url").getValue(),{model_id:self.getValue()}));
			}
		});
});
</script>


</head>
<body>
  
       
<div id="grid"></div>


</body>
</html>